package com.alibaba.otter.manager.web.dto;

import com.alibaba.otter.manager.biz.statistics.throughput.param.AnalysisType;
import com.alibaba.otter.shared.common.model.statistics.throughput.ThroughputStat;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Map;

@Setter
@Getter
@NoArgsConstructor
public class RecentThroughputStatDTO extends ThroughputStat {


    private Map<AnalysisType, ThroughputInfoDTO> recentThroughputStats;




    @Setter
    @Getter
    @NoArgsConstructor
    public static class ThroughputInfoDTO{

        private Long tps;

        private Long quantity;

        private Long size;

        private Long number;

    }
}
